package com.tyrone.gateway.registry;

import java.util.List;

public interface Registry {

    public void registry(GatewayInfo gatewayInfo);

    public InstanceInfo selectOneHealthyInstance(ServiceInfo serviceInfo);

    public List<InstanceInfo> getHealthyInstances(ServiceInfo serviceInfo);

    public void deregister(GatewayInfo gatewayInfo);
}
